import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import Vant from 'vant'
import 'vant/lib/index.css'

import VueDragResize from 'vue-drag-resize' //缩放、拖拽
Vue.component('vue-drag-resize', VueDragResize)
Vue.use(Vant)
// 懒加载
import {
  Lazyload
} from 'vant'
Vue.use(Lazyload)
Vue.use(Lazyload, {
  lazyComponent: true,
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')